package com.codingfuture.erp_system.mapper;

import com.codingfuture.erp_system.entity.Role;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoleManageMapper {
    List<Role> findByAll(String name);

    int insert(String name);

    int update(String name, Integer id);

    Role findById(int id);

    int delete(int id);
}
